package com.gpframework.common.enums;

import lombok.Getter;

/**
 * 用户租柜记录状态
 *
 * @author BrinedFish
 * @create 2022-04-21 17:33
 */
@Getter
public enum UserCabinetRecordEnum {
    /**
     * 租用状态
     */
    NOT_RENT("未租用", "0"),
    RENT("已租用", "1"),
    TRANSFER_RENT("已转租", "2"),
    OVERDUE_RENT("已过期", "3"),

    // 临时柜子使用状态
    IN_USE("使用中", "10"),
    RETURNED("已归还", "20"),

    //租柜类型
    TEMPORARY_CABINET("临时租柜", "10"),
    PERSISTENT_CABINET("长期租柜", "20"),
    /**
     * 延期
     */
    TIME_DELAY("租柜延期", "101"),
    ;
    /**
     * 业务名称
     */
    private String name;

    private String key;

    private UserCabinetRecordEnum() {
    }

    private UserCabinetRecordEnum(String name) {
        this.name = name;
    }

    private UserCabinetRecordEnum(String name, String key) {
        this.name = name;
        this.key = key;
    }
}
